package com.jsgt.greekfire.bean

class DelegateAccountBean {
    /**
     * visible : true
     * txID : 13b0ba1f4251cc48911f7408bc6100da5d9fa79d1c80bdc191efb45d3ccd423f
     * raw_data : {"contract":[{"parameter":{"value":{"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","delegate_count":100001000000,"owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"},"type_url":"type.googleapis.com/protocol.DelegateContract"},"type":"DelegateContract"}],"ref_block_bytes":"c100","ref_block_hash":"729b1db11cea4ec2","expiration":1608102741000,"timestamp":1608102682116}
     * raw_data_hex : 0a02c1002208729b1db11cea4ec240888892d3e62e5a6a083712660a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e44656c6567617465436f6e747261637412350a1541c864b49e2722b3d7af733e8903b099aa8efff00e10c0d498c4f4021a15412ad6ed2e752d8a3f8d160fda861c8100595e58b77084bc8ed3e62e
     */
    var visible = false
    var txID: String? = null
    var raw_data: RawDataBean? = null
    var raw_data_hex: String? = null
    var signature: String? = null

    class RawDataBean {
        /**
         * contract : [{"parameter":{"value":{"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","delegate_count":100001000000,"owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"},"type_url":"type.googleapis.com/protocol.DelegateContract"},"type":"DelegateContract"}]
         * ref_block_bytes : c100
         * ref_block_hash : 729b1db11cea4ec2
         * expiration : 1608102741000
         * timestamp : 1608102682116
         */
        var ref_block_bytes: String? = null
        var ref_block_hash: String? = null
        var expiration: Long = 0
        var timestamp: Long = 0
        var contract: List<ContractBean>? = null

        class ContractBean {
            /**
             * parameter : {"value":{"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","delegate_count":100001000000,"owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"},"type_url":"type.googleapis.com/protocol.DelegateContract"}
             * type : DelegateContract
             */
            var parameter: ParameterBean? = null
            var type: String? = null

            class ParameterBean {
                /**
                 * value : {"delegate_address":"ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY","delegate_count":100001000000,"owner_address":"ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k"}
                 * type_url : type.googleapis.com/protocol.DelegateContract
                 */
                var value: ValueBean? = null
                var type_url: String? = null

                class ValueBean {
                    /**
                     * delegate_address : ATRUEnnZvr2MSCjRh9FTNf4ebsmThzgZHNUY
                     * delegate_count : 100001000000
                     * owner_address : ATRDsirUE3Vo9z6kmLRvRa2KdnqKWQi7Ef3k
                     */
                    var delegate_address: String? = null
                    var delegate_count: Long = 0
                    var owner_address: String? = null
                }
            }
        }
    }
}